#pragma once

struct lua_State;
class LuaStackGuard
{
public:
  explicit LuaStackGuard(lua_State* L);
  ~LuaStackGuard();

private:
  lua_State* luaState_;
  int top_;
};
